import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/sale/price/list',
    method: 'post',
    data: data
  })
}
export function addOrUpdate(data) {
  return request({
    url: '/sale/price/addOrEdit',
    method: 'post',
    data: data
  })
}
export function remove(data) {
  return request({
    url: '/sale/price/delete',
    method: 'post',
    data: { deleteIds: data }
  })
}
export function getInfo(data) {
  return request({
    url: '/sale/price/' + data,
    method: 'get'
  })
}
export function getAdjustByPriceCustomerId(data) {
  return request({
    url: '/sale/price/getAdjustByPriceCustomerId/' + data,
    method: 'get'
  })
}

